﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;

namespace BPM.Web.Shared.Service;

public interface ISysTimerService
{
    Task<bool> AddAsync(JobOutput input);
    Task<bool> DeleteAsync(IEnumerable<JobOutput> input);
    Task<SysTimer?> DetailAsync(JobOutput input);
    Task<bool> EditAsync(JobOutput input);
    Task<List<TaskMethodInfo>?> LocalJobListAsync();
    Task<QueryData<JobOutput>> PageAsync(TimerPageInput input);
    Task<bool> StartAsync(JobOutput input);
    Task<bool> StopAsync(JobOutput input);
}
